Peak Element In Array Using C