Add -m for packing from the middle
Add return code to main()