Added @Override annotation to sample codes in README.md

Added @Override annotation to sample codes in README.md to improve readability.