Added code to 8-ball