Improved tile assigner, minor code fix

Added more cases for assigning tiles, fixed array initialization in
constructor, removed 2 unused variables, made enum titles lowercase