fix test file
fix main.c file
fix grow()

***    still errors on multiple inputs    ***
add small test file