The Ubermensch is Nietzsche's profound solution to nihilism. "God is dead," Nietzsche points out that we have killed God and that this would lead to chaos.
According to Nietzsche, the death of God would also mean the death of moral values, as well as divine justice and purpose. The realization that God is not necessary would lead to morality becoming subjective, and people becoming confused. Nietzsche, as well as many great philosophers, thought that life is inherent suffering.
"To live is to suffer, to survive is to find some meaning in the suffering."
The only way to survive is to find meaning in suffering, although that doesn't imply less suffering. Nietzsche's response to a world full of injustice and pain was, you guessed it, the ÜBERMENSCH!
To be an Übermensch means to be aware of the fact that life is suffering and has no inherent meaning, yet keep living and finding our meaning. choosing values that suit our differences from others, accepting the fact that you might have to hurt and "offend" people.