Bitstarter project for coursera's homework