Added Charater extension

Implemented toInt() method for Charaters and added test for it.