Implements Assignment1 Problem1
Implements Assignment1 Problem2