basic implementation for part 1. Moves according to changes in centroid and area values