Finished ch3 exercises (including using postgres)