add type declaration
can parse all sorts of chess moves