play the first and second one first scratch.mit.edu/projects/1368630514/ second scratch.mit.edu/projects/1368632734/
this is what a origanally planed algorithm to be