Coding functions in js
quarter()
perimeterBox() in js
sleep_check() in js