Programs for a Coding interview