Progremming assignment 2