Update exercise1.hs

Fixed contains function added by tanmaya so that it is now working in any case ;)