thoughts raced through thomas 's mind , mostly related to how he knew he was a part of wickeda huge partand how the maze and groups a and b and all the junk they were going through were parts of it too .