Adding boxplotMain function