Added second constructor assigning values to all fields in Document class