A R Rahman debuts as producer, writer with '99 Songs'