more practice code

practice code for self learning