Update to OS-Assignment1

Added more error catchers.