Made a leaves function.

Fixed up code a little! Comments needed! 
Maybe?:
Fix leaves probability to get? And maybe make separate script for the probability of drops?