Bugfix: fixed the casting method names
(eg. changed tostr() -> str(), toint() -> int(), tofloat() -> float(), tobool() -> bool())
Bugfix: fixed the bool() method which was returning false when it should've returned true and vice versa.
Addition: casting methods now work on more built-in types.