First and second refactor
Refactored 1&2 even more
Deleted homework-9.1.js
Fixed mis-type of value