This is my first pass at programming assignment 2