Use 'Algorithm' to do MidpointFindingKarel