Implemented question 2. Do we really need everything to be bloody static?!
Added input checks to Q2. Regexes FTW.