Updated the code so num of wheels is variable