Nice graph coloring problem - Should be non recursive

Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarreddy@gmail.com>