Implement parsing of expressions (closes #26)