AN ALGORITHM FOR RESOURCE DISCOVERY BASED ON METADATA MATCHING IN INFORMATION GRID ENVIRONMENT