Assignment - Functions

Personal Calculation completed with comments and while loop added for
input validation