Handbook on Optimal Growth 1: Discrete Time