Added beginning of edge solving functionality

added M moves and Lw moves.
added new functions for edge solving