Created a utils file and rectangle class