Worked on methods. Nothing special.
Generate a random binary sequence.