Mean, median, mode

Added mean, median, mode
Code cleaning