CalculateExperience implementation. test project.