wrote character replace methods
got algo working up to 3 moves