Midi controller

I'm out on a limb here, I've read several threads and tutorials and I can't seem to get anything, I'm wanting to make a 3x3 button midi controller, for the life of me I can't seem to get anything done,

I was wondering if someone could literally be able to provide me with a simple code and schematic for one button/control and explain the meaning behind the code and hopefully i'll be able to carry on from there..

I just need an educational nudge!

I have an Arduino uno