Added partly implemented TIMER_B.

Some other changes at Practica_2 and HAL.