finished problem 3
added test file
testing