Birthday attack implemented by utilizing list of fixed gates. Code is a
bit messy and should eventually be cleaned up.