Final programming assignment for OS