corrected wrong datatypes in Document.java. Added first functionality to Processor