Life of Pi hero Suraj Sharma is allowed to take exams