Added an option exercise with a more functional data structure