Added newlib to gitignore.
Script to rebuild newlib after changes.
Added run functionality to test program.
Only check for validity of pointer to parameters if there are some.