Added exceptions for illegal arguments and added licence to README