Cleaning up Progs

Added declarations for all current functions to progs.h,  allowed cd()
to take in a character array.