Add problem 3 with table creation code