Programming assignment 3

Updating 2 solutions.