Finished with days exercises
Update tic.js
Update tic.js
cleaned up code a bit