Acomplished problem 3 and finished singleton example writing