Introduction to the theory of computation - Sipser, Michael (PWS pub. Co., 1997)