exercises and some solution of Standfords DB Class