Explaination of solid principles with example.