submission of programming assignment 2