added some source files from textbook