a simple one machine spark demo. Originally provided by cs194 datasci 2014.