Figured out how indexes are actually working. simpledb.metadata.IndexMgr and studentClient.simpleDB.StudentMajor.java changed