added sourcefiles for hw2 aka assignment2