Programming assignment #1 CS157a