added problem 3 soln and integer pimp