Progamming Assignment 2 completed