Implement scheduler - fixing indents in scheduler.cpp

i hope this goddamn works.