finished
added yywrap()