Create heap-bad.cpp