Implemented functions with As-Patterns and Guards.  Added functions: captial, bmiTell, max' and compare'