Wrote Customer class functions.