Casting

Adds a few methods that cast strings into integers.