Updated the interface to have a getAccuracy method
Updated the implementation to override getAccuracy and added javadocs