Validating XML

Checking if data provided from XML file was correct and can be used in
the terrain generation.