Learning- principles of reinforcement and punishment