initial implementation of draw square