Renamed variables. Removed exceptions package.

Renamed variables for readability.
Removed deleted exceptions package and replaced with
IllegalArgumentException.