removeFront() method completed