Update sokoban.hpp

Added direction and parent to the struct State.
Made changes accordingly to the functions.