Update classes.cpp

changed tab from bool to int