A basic course in numerical methods