Group3 refactoring by Jejo Koola

I refactored the getEventsByAttendance so that it was more general and you could get events by any amount of attendance