Solution of Boundary Value Problems Using An Artificial Intelligence Technique