Wrote First Pack.cpp Function

It still is not passing the test cases: fails to open file.