assignment 4 source code and graphics