Added license header to problems, and added the max occurrence problem