Added comments and interactive mode.

Also fixed partial prime files.