Text this: Optimal Gait Generation in Biped Locomotion of Humanoid Robot to Improve Walking Speed