Generate Binary Numbers From 1 To N Using A Queue