code from book and exercises organized