Programming Assignment2 from vivek.jaykrishnan@gmail.com