Added eightball function

Hello my friend. As of this Perjantai, I think you should accept my humble code. Peace out!