Complete exercises 1 to 5. Full-house function incomplete, throws exception.