To practise multi thread programming