added problem 3 and added pair signature to the top of files