programming assignment 2 code is done