input: Write a Python function to build a simple chatbot that responds to greetings and basic questions using predefined patterns.
  assert chatbot('hello') == 'hi there'
  assert chatbot('how are you') == 'I am doing great'
  assert chatbot('goodbye') == 'goodbye for now'
  assert chatbot('what can you do') == 'I can provide answers to basic questions related to programming'
output: def chatbot(message):
      responses = {
          'hello': 'hi there',
          'how are you': 'I am doing great',
          'goodbye': 'goodbye for now',
          'what can you do': 'I can provide answers to basic questions related to programming'
      }
      return responses.get(message.lower(), "I don't understand that")