add square fuction and test

8 jobs for addSquareFunction in 33 minutes and 22 seconds (queued for 29 minutes and 1 second)