Added some preliminary methods.
Added shuffle method.