Assignment - Functions

Personal calculation function completed, I am not happy and will
probably change it up, but I can’t think of anything creative.