Added infrastructure to apply moves
Added code for double moves