Selection and List_moves implemented but a lot of memory errors found with valgrind, need fixes.