Version 2 Created Which Can Accept A Block Of Code, started to learn about the yield function