added some exercise on react components