miscellanious programs from CS 116