Added comments, fixed minor error in MakeTile