Programming Assignment for an Interview