Structure formation in f(T) gravity and a solution for H0 tension