Implemented dodging squares