Make match function a bit more realistic, make the matching cycle a fold, make a test pass
refactor away an undefined - a match between two orders has only three possible outcomes
split out an Order module