glitchImage method now returns an option

error handling will be added later
Actually returning an exit code
getOriginalImages returns an option

again, better error handling will be added later