Remove some casts
Make MONTHS variable a slice instead of an array.
This lets the find() function have a more generic type signature.
Make find() return -1 if value wasn't found, and add an error check for it