added definition of 'writeResultFile' function in Matcher.java
added parsing to xml document
Merge pull request #2 from robert-uzar/master

pull request