added testmaketurnwithinvalidsquare
modified draw function