At this time, there are hundreds of posts about the tower, instead of creating a new topic, please use the search bar. With one quick search you can find the solution.
No idea how to link topics so i'll just post the answer here. Credits go to @CMV in the topic "A certain tower"
EDIT: When you push your block against a wall, make sure the other one moves - sometime it doesn't and that can get you stuck.