Added solution from oDesk Coding Challenge