started work on k means cluster
finished k means cluster. probably needs some more testing before production use