Add error handling to int converter
Add error handling via Either
Implement groupBy