Version 5

Added problem 3