A coding exercise made for an interview