rewrote program using c++ for easier usage