simple clustering example with spark