A student simulated a heart attack to get intimate with his teacher