Added some new java design patterns and one xml file

Added some new java design patterns and one xml file