Defined Scanner State, implemented operations setMark, removeMark and readCharacter