15 puzzle javascript tutorial, In the end you will get a working game