Seperated the lab1.js file into several files (it was time)