On the Discrete Version of Wirtinger's Inequality