Finished end of Chap 3 exercises (on sqlite)