removing use of floor because apparently not math.h on udacity