NCSS 2014 Prog Comp q11 Solution using Polymorphism (Reupload)