added a ReplaceColorFrame that manages replacing pieces of a color to pieces of another color, implemented and tested the functionality