Cleaning across the board

- Listened to hlint warnings:
  - Converted to camelcase everywhere
  - Reduced redundant brackets and used more succint syntax where possible
- Changed the type of Batch to hold the function
  - This allows for cleaner looking example cases