Update part_increasing_alph_order.c

getting rid of some unnecessary loops and branches increased speed noticeably but not significantly.