Pitch black

I made a new world in minecraft and everything was pitch black and i could not see and then i went into a house and it was pitch black too there was a room and it had torches in it the room lead to other room,the other room had redstone torches in it and then a pitch black figure came out of no where and killed me.