Major Applewhite admits to inappropriate relationship with student