Added array shuffle function.
Added function for building graphs. No tests were possible. :-(