CS 221: Completed assignment 5 #1a and added files for assignment 5