Week4b Linux Example, Runtime Error, Bad Alloc