my homework for various csci classes