added 3sum algorthim implementation in python