Maze Runner

Thomas is deposited in a community of boys after his memory is erased, soon learning they're all trapped in a maze that will require him to join forces with fellow "runners" for a shot at escape.
The Maze Runner | Official Trailer [HD] | 20th Century FOX
The Maze Runner is the first book in a science fiction trilogy. The novel was published on October 6, 2009, by Delacorte Press, an imprint of Random House, and was made into a 2014 major motion picture by 20th Century Fox. The sequel to the movie, The Maze Runner: Scorch Trials is set to be released on September 18, 2015. The novel spawned two sequels: The Scorch Trials and The Death Cure.