Learning SML - Basic List Functions