Find next greater number with same set of digits