small changes, coordinates added to character.cpp