Changed to layer solving method

now can solve cross and usually first layer