Hundreds of Mackay students head back to class