Main() implemented

entered the test code provided with assignment description