I want to write a pseudo code for calculating standard deviations using several functions like calculating mean and the sum of difference squared. how can i do it