implemented phased move generator