Began actually debugging shmget. Fixed some bugs. Still doesn't work.
Working on it, but I wanted to commit this now so I didn't lose
progress.
Fixed the bugs, methinks! At least I pass Scotty's test (from what I can
tell), so that's something.