Added Configuration selection and Graphical XOR routine