moved shuffle function to .cpp extend Makefile add test but still unfinished