ProgramminAssigment2 - Solution

first solution to assigment 2