Fixed FileParser and LevelCreator

Both should work properly now. main() is a test function for both.