some refactoring, parses + and - but does nothing, and accepts (n,m) coordinates