Update readWrite.java

This compiles!!! It actually compiles!!! *crazy laughter*