Finished buy function. Note out of bounds exception fixed within currentCity function (l:205).