Accepting Rejecting and Looping in Turing Machine