Changed Tetrid object to use setters and getters (did not know these existed in JS!)