Add levels and statistic calculation

Update user statistic and level when game is finished.
Add correct gradation of user levels