Took me a while as well. Go back to room where you found peanut butter. There's a light switch on the wall. Keep playing around with that switch and the ones in the room with the safe until it glows orange like the safe room. If you found the code for safe you'll know what i mean.