Almost finished basics.js. Some Math functions need to be looked into