added input example
added base functions and header
call to insertionSort and other functions