How to compute the first and third quartiles