Created position.c and .h, altered Makefile and new tests to functions in main.c