Adding sliding puzzle, later i will fix flip function arguments.