This is a Video tutorial I made since there are not many out there for this. However if you are using this in a big map than I would suggest using a different type of redstone clock as this type of clock can freeze if you get too many chunks away from it. Let me know if you guys want more map making tutorials. I will make them if you guys think they are helpful!
Check out Lets Play awesomeness www.youtube.com/AricaraGames
Subscribe to my youtube channel! www.youtube.com/Darkjgaming