Scientists have discovered a way to end world hunger, with a simple little bean.